#pragma once
#include "abstractdatamanager.h"

typedef CSimpleArray<CString> CStringList;
class CDictManager :
	public CAbstractDataManager
{
public:
	CDictManager(void);
	~CDictManager(void);
	int Add(int iClassID,CString strKey,CString strContent,CString strSample);
	int Update(int iID,CString strContent,CString strSample);
	int Delete(int iID);
	void GetKeyList(int iClassID, CStringList& liKeys);
	void GetDictByID(int iID,CString& strKey,CString& strContent,CString& strSample);
	void GetDict(int iClassID,CString strKey,CString& strContent,CString& strSample);
	int Save(int iClassID,CString strKey,CString strContent,CString strSample);
};

